import Vue from 'vue'
import Router from 'vue-router'
import Index from './components/Index'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect:"Index"
    },
    {
      path: '/login',
      redirect:"Index"
    },

    {
      path: '/index',
      name: 'Index',
      component:Index,
      children:[


      ]
    }
  ]
})
